package com.jet.merchant.domain.vo;

import com.jet.merchant.domain.bo.LoginBo;
import com.jet.merchant.domain.enums.AccountScanStatus;
import com.jet.core.enums.IEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @author dcl
 * @since 2024/5/23 13:55
 */
@Data
public class AccountScanStatusVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private int status;

    private String statusName;

    private LoginBo loginVo;

    public String getStatusName() {
        return IEnum.getNameByCode(this.getStatus(), AccountScanStatus.class);
    }
}
